from django.urls import path
from liscense import views

app_name = 'liscense'
urlpatterns = [
    path('addmember', views.add_member, name="add_member"),
    path('getmember', views.get_member, name="get_member"),
    path('removemember/<int:member_id>', views.remove_member, name="remove_member"),
    path('getmemberbyid/<int:member_id>', views.get_member_by_id, name="get_member_by_id"),
    path('editmember/<int:member_id>', views.edit_member, name="edit_member"),
    path('uploadliscense/', views.upload_liscense, name="upload_liscense"),
    path('addliscense/', views.add_liscense, name="add_liscense"),
    path('getliscense/', views.get_liscense, name="get_liscense"),
    path('changeliscensestate/<int:liscense_id>/state/<str:state>/', views.change_liscense_state, name="change_liscense_state"),
    path('removeliscense/<int:liscense_id>/', views.remove_liscense, name="remove_liscense"),
    path('editliscense/<int:liscense_id>/', views.edit_liscense, name="edit_liscense"),
    path('exportoexcel/', views.export_to_excel, name="export_to_excel"),
    path('liscensetab/', views.liscense_tab, name="liscense_tab"),
]